home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / tools / disk-tools / cd-tools / scdplayer / source / scdplocale.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-06-22  |  4.4 KB  |  206 lines

  1. enum localemsg
  2. {
  3.     MSG_FailMUI=0,
  4.     MSG_FailStack,
  5.     MSG_FailApplication,
  6.     MSG_FailMemory,
  7.     MSG_FailNoTimer,
  8.     MSG_FailNoDevice,
  9.     MSG_FailNoIO,
  10.     MSG_FailNoMP,
  11.     MSG_FailNoFont,
  12.  
  13.     MSG_SCDPDescription,
  14.     MSG_Track,
  15.     MSG_TitleTime,
  16.     MSG_CDTime,
  17.     MSG_NoDisc,
  18.     MSG_ListButton,
  19.     MSG_ProgramButton,
  20.     MSG_CDInformation,
  21.     MSG_Artist,
  22.     MSG_CDTitle,
  23.     MSG_TitleList,
  24.     MSG_Use,
  25.     MSG_Save,
  26.     MSG_Cancel,
  27.     MSG_ProgramWindowTitle,
  28.     MSG_New,
  29.     MSG_Delete,
  30.     MSG_Top,
  31.     MSG_Up,
  32.     MSG_Down,
  33.     MSG_Bottom,
  34.     MSG_ProgramList,
  35.     MSG_UnknownArtist,
  36.     MSG_UnknownTitle,
  37.     MSG_DataTrack,
  38.     MSG_TrackNo,
  39. /* Version 1.2 has a menu */
  40.     MSG_MenuProject,
  41.     MSG_MenuAbout,
  42.     MSG_MenuAboutKey,
  43.     MSG_MenuAboutMUI,
  44.     MSG_MenuQuit,
  45.     MSG_MenuQuitKey,
  46.     MSG_MenuSettings,
  47.     MSG_MenuMUI,
  48. /* For About requester */
  49.     MSG_AboutText,
  50.     MSG_AboutGadget,
  51. /* Version 1.2 added help bubbles */
  52.     MSG_HelpInfo,
  53.     MSG_HelpPlay,
  54.     MSG_HelpPause,
  55.     MSG_HelpStop,
  56.     MSG_HelpPrevious,
  57.     MSG_HelpNext,
  58.     MSG_HelpRewind,
  59.     MSG_HelpFastForward,
  60.     MSG_HelpEject,
  61.     MSG_HelpVolume,
  62.     MSG_HelpProgramL,
  63.     MSG_HelpShuffle,
  64.     MSG_HelpRepeat,
  65.     MSG_HelpTrackSelect,
  66.     MSG_HelpList,
  67.     MSG_HelpProgramR,
  68.  
  69.     MSG_HelpArtist,
  70.     MSG_HelpCDTitle,
  71.     MSG_HelpTitles,
  72.     MSG_HelpTitle,
  73.     MSG_HelpUse,
  74.     MSG_HelpSave,
  75.     MSG_HelpCancel,
  76.  
  77.     MSG_HelpPTitles,
  78.     MSG_HelpNew,
  79.     MSG_HelpDelete,
  80.     MSG_HelpTop,
  81.     MSG_HelpUp,
  82.     MSG_HelpDown,
  83.     MSG_HelpBottom,
  84.     MSG_HelpProgramList,
  85.     /* For V1.3 */
  86.     MSG_AutoPlay,
  87.     MSG_AutoProgram,
  88.     MSG_AutoShuffle,
  89.     MSG_AutoRepeat,
  90.     /* V1.3 Help Bubbles */
  91.     MSG_HelpAutoPlay,
  92.     MSG_HelpAutoProgram,
  93.     MSG_HelpAutoShuffle,
  94.     MSG_HelpAutoRepeat,
  95.  
  96. };
  97.  
  98. unsigned char *defstr[]=
  99. {
  100.     "Failed to open muimaster.library.",
  101.     "Not enough stack.",
  102.     "Couldn't setup the application.",
  103.     "Not enough memory.",
  104.     "Couldn't open timer.device.",
  105.     "Couldn't open specified device.",
  106.     "Couldn't obtain IORequest.",
  107.     "Couldn't obtain MsgPort.",
  108.     "Failed to open a font.",
  109.  
  110.     "MUI CDDA Player.",
  111.     "Track",
  112.     "Title time",
  113.     "CD time",
  114.     "No Disc",
  115.     "_List",
  116.     "Progra_m",
  117.     "CD information",
  118.     "Artist",
  119.     "CD Title",
  120.     "Title list",
  121.     "_Use",
  122.     "_Save",
  123.     "_Cancel",
  124.     "Program",
  125.     "New",
  126.     "Delete",
  127.     "Top",
  128.     "Up",
  129.     "Down",
  130.     "Bottom",
  131.     "Program list",
  132.     "Unknown artist",
  133.     "Unknown title",
  134.     "%02d: Data track",
  135.     "%02d: Track no. %d",
  136.  
  137. /* Version 1.2 has a menu */
  138.     "Project",
  139.     "About...",
  140.     "?",
  141.     "About MUI...",
  142.     "Quit",
  143.     "Q",
  144.     "Settings",
  145.     "MUI...",
  146.  
  147. /* For About requester */
  148.     "SCDPlayer " VERSION "\nAudio player for SCSI-II and Atapi CD-ROM drives.\n© 1996 Juan J. García de Soria.",
  149.     "OK",
  150. /* Version 1.2 added help bubbles */
  151.     "Shows playing information",
  152.     "Start playing",
  153.     "Pause / resume playing",
  154.     "Stop playing",
  155.     "Go to previous track",
  156.     "Go to next track",
  157.     "Jump 10 seconds back",
  158.     "Jump 10 seconds forward",
  159.     "Eject / load the disc",
  160.     "Change the playing volume",
  161.     "Toggle program mode",
  162.     "Toggle shuffle mode",
  163.     "Toggle repeat mode",
  164.     "Active entry shows what track is being played.\nDouble click a track to jump to it.",
  165.     "Edit CD information",
  166.     "Edit the current program",
  167.  
  168.     "Enter here the artist's name",
  169.     "Enter here current CD title",
  170.     "List of track titles",
  171.     "Edit here the titles",
  172.     "Use the changes now",
  173.     "Save the changes to disk",
  174.     "Cancel the changes",
  175.  
  176.     "List of track titles.\nDouble-click or drag to include in the program.",
  177.     "Clear the program",
  178.     "Delete selected programmed track",
  179.     "Move selected programmed track to the top",
  180.     "Move selected programmed track up",
  181.     "Move selected programmed track down",
  182.     "Move selected programmed track to the bottom",
  183.     "List of programmed tracks.\nDrag to sort, double-click to delete.",
  184.     /* New for V1.3 */
  185.     "Auto Play",
  186.     "Auto Program",
  187.     "Auto Shuffle",
  188.     "Auto Repeat",
  189.     /* V1.3 Help Bubbles */
  190.     "If checked, this CD starts playing when inserted",
  191.     "If checked, Program Mode is set when this CD is inserted",
  192.     "If checked, Shuffle Mode is set when this CD is inserted",
  193.     "If checked, Repeat Mode is set when this CD is inserted",
  194. };
  195.  
  196. unsigned char *glstr(ULONG num)
  197. {
  198.     if(LocaleBase && catalog)
  199.     {
  200.         return GetCatalogStr(catalog,num,defstr[num]);
  201.     }
  202.     else
  203.         return defstr[num];
  204. }
  205.  
  206.